<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>数据</title>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
    <script src="/bpm/miniUI/scripts/boot.js" type="text/javascript"></script>
    <script src="../../../../js/echarts.min.js"></script>
    <!--<script src="../js/form-public.js" type="text/javascript"></script>-->
    <link href="/bpm/miniUI/frame/frame1/css/commen.css" rel="stylesheet" type="text/css"/>
    <style>
   	 	body{
            margin:0;padding:0;border:0;width:100%;height:100%;overflow:hidden;
        }
        .title {
            white-space:nowrap;
            /*margin-bottom: 10px;*/
            font-size: 16px;
        }
        .table_name {
            display: inline-block;
        }
        #add, #save, #edit, #remove, #cancel, #approve, #abandon, #refer {
            display: none;
        }
    </style>
</head>
<body>
    <div>
        <!-- <div class="title">
            <label>表名：</label>
            <p class="table_name"></p>
        </div> -->
        <div class="left" style="width:200px;height:99vh;float:left;border:2px solid #aed0ea">
            <ul id="tree" class="mini-tree" style="width:100%;height:calc(100% - 20px);display: inline-block;"
                idField="id" parentField="pid" showTreeIcon="true" textField="text" resultAsTree="false"
            ></ul>
        </div>
        <div class="right" style="width:calc(100% - 207px);float:left;overflow: auto;">
            <div style="width:100%;">
                <div class="mini-toolbar" style="border-bottom:0;padding:0px;">
                    <table style="width:100%;">
                        <tr>
                            <td style="width:100%;">
                                <a class="mini-button" id="add" iconCls="icon-add" onclick="addFormShow()" >新增</a>
                                <!--<span class="separator"></span>-->
                                <a class="mini-button" id="edit" iconCls="icon-edit" onclick="editFormShow()" >编辑</a>
                                <a class="mini-button" id="remove" iconCls="icon-remove" onclick="removeRow()" >删除</a>
                                <a class="mini-button" id="submit" iconCls="icon-ok" onclick="onSubmit()" >提交</a>

                                <input id="printText" class="mini-combobox" emptyText="请选择" required="false"
                                       valueField="id" textField="text" width="100" value="" onvaluechanged="onPrintChanged" />
                                <a class="mini-button" id="print" iconCls="icon-print" onclick="onPrint()" >打印</a>
                                <a class="mini-button" id="print" iconCls="icon-zoomin" onclick="onEchart()" >查看图表</a>
                                <a class="mini-button" id="print" iconCls="" onclick="onExcelImport()" >Excel导入</a>
                            </td>
                            <td style="white-space:nowrap;">
                                <a class="mini-button" iconCls="icon-reload" onclick="refresh()">刷新</a>
                                <!-- <input id="search_key" class="mini-textbox" emptyText="请输入查询内容" style="width:150px;" onenter="onKeyEnter"/>
                                    <a class="mini-button" onclick="search()">查询</a> -->
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
			<div id="gridField" style="width:100%;"></div>
        </div>
    </div>
    <!-- 饼图图表 -->
    <div id="win1" class="mini-window" title="PieChart" style="width:580px;height:450px;"
         showToolbar="false" showFooter="true" showModal="true" allowResize="true">
        <div class="ct" id="chart1" style="height:100%;width:100%;"></div>
    </div>
    <!-- 柱状图 -->
    <div id="win2" class="mini-window" title="BarChart" style="width:580px;height:450px;"
         showToolbar="false" showFooter="true" showModal="true" allowResize="true">
        <div id="chartContainer" style="height:100%;width:100%;">></div>
    </div>
    
    
    <script src="../../frame1/js/dbShowGrid2.js" type="text/javascript"></script>
</body>
</html>